package cn.edu.hgu.bean;

import java.util.Date;

/**
 * AdminInfo entity. @author MyEclipse Persistence Tools
 */

public class AdminInfo implements java.io.Serializable {

	// Fields

	private Integer id;
	private String username;
	private String password;
	private String realname;
	private Integer loginTimes;
	private Date lotinTime;
	private String loginIp;
	private String remark;
	private AdminRoleInfo adminRole;

	// Constructors

	/** default constructor */
	public AdminInfo() {
	}

	/** full constructor */
	public AdminInfo(String username, String password,
			String realname, Integer loginTimes, Date lotinTime,
			String loginIp, String remark) {
		this.username = username;
		this.password = password;
		this.realname = realname;
		this.loginTimes = loginTimes;
		this.lotinTime = lotinTime;
		this.loginIp = loginIp;
		this.remark = remark;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUsername() {
		return this.username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getRealname() {
		return this.realname;
	}

	public void setRealname(String realname) {
		this.realname = realname;
	}

	public Integer getLoginTimes() {
		return this.loginTimes;
	}

	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}

	public Date getLotinTime() {
		return this.lotinTime;
	}

	public void setLotinTime(Date lotinTime) {
		this.lotinTime = lotinTime;
	}

	public String getLoginIp() {
		return this.loginIp;
	}

	public void setLoginIp(String loginIp) {
		this.loginIp = loginIp;
	}

	public String getRemark() {
		return this.remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public AdminRoleInfo getAdminRole() {
		return adminRole;
	}

	public void setAdminRole(AdminRoleInfo adminRoleInfo) {
		this.adminRole = adminRoleInfo;
	}
	
}